package task07;


import java.util.Scanner;

/**
 * @author Administrator
 */
public class Tesk2 {
    public static void main(String[] args) {
        System.out.println("请输入一个数：");
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        if (90 <= num && num <= 100) {
            System.out.println("优秀");
        }
        if (70 <= num && num < 90) {
            System.out.println("良好");
        }
        if  (60 <= num && num < 70) {
            System.out.println("及格");
            }
        if  (0 <= num && num < 60) {
                System.out.println("不及格");
            }


        }
    }
